using UnityEngine;
using System.Collections;

public class PlayerState : MonoBehaviour {

	public int numLives = 3;
	public Vector3 respawnPos;
	
	// Use this for initialization
	void Start () {
		respawnPos = GameObject.Find("butterfly").transform.position;
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
	
	void ExtraLife() 
	{
		numLives++;
	}
	
	// return  true if still life
	bool LostLife()
	{
		numLives++;
		return numLives>0;
	}
}
